<template>
  <div class="xgd-noData">
    <span class="xgd-noData__icon">
      <i class="iconfont" :class="'icon-'+icon"></i>
    </span>
    <span class="xgd-noData__message">{{ message }}</span>
  </div>
</template>
<script>
  export default {
    props:{
      icon:{
        type:String,
        default:''
      },
      message:{
        type:String,
        default:'数据为空'
      }
    },
    data() {
      return {}
    }
  }
</script>